package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 租赁套餐信息表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_rent_combo")
@ApiModel(value = "XhRentCombo对象", description = "租赁套餐信息表")
public class XhRentCombo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("套餐编号")
    private String no;

    @ApiModelProperty("租赁标题")
    private String name;

    @ApiModelProperty("副标题")
    private String subTitle;

    @ApiModelProperty("租赁封面图片")
    private String image;

    @ApiModelProperty("租赁轮播图")
    private String pics;

    @ApiModelProperty("关联电池型号")
    private Integer batteryInfoId;

    @ApiModelProperty("周期数")
    private Integer cycles;

    @ApiModelProperty("租赁天数=周期数*30")
    private Integer days;

    @ApiModelProperty("描述内容")
    private String content;

    @ApiModelProperty("租赁价格")
    private BigDecimal price;

    @ApiModelProperty("是否允许新购，1.允许，0.禁止")
    private Integer allowNew;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("可用标识")
    private Integer isEnabled;

    @ApiModelProperty("删除标识")
    private Integer isDelete;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人姓名")
    private String creator;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
